package org.balthie.demo.mat.histogram;

public class PackageMATInfo
{
    private String name;
    
    private Integer classCount = 0;
    
    private Integer objCount = 0;
    
    private Integer swallowHeap = 0;
    
    public PackageMATInfo(String name)
    {
        super();
        this.name = name;
    }
    
    public void plus(Integer classCount, Integer objCount, Integer swallowHeap)
    {
        this.classCount += classCount;
        this.objCount += objCount;
        this.swallowHeap += swallowHeap;
    }

    public String getName()
    {
        return name;
    }

    public Integer getClassCount()
    {
        return classCount;
    }

    public Integer getObjCount()
    {
        return objCount;
    }

    public Integer getSwallowHeap()
    {
        return swallowHeap;
    }
    
    
}
